/*
 * @Author: WuFeng <763467339@qq.com>
 * @Date: 2022-07-14 14:57:14
 * @LastEditTime: 2022-07-21 17:11:59
 * @LastEditors: WuFeng <763467339@qq.com>
 * @Description: 代码生成
 * @FilePath: \vue3-element-plus-web\src\api\SysManage\robot.js
 * @Copyright 版权声明
 */
import request from '@/utils/request'
import qs from 'qs'

/**
 * @description 生成代码
 * @param {*} params
 */
export function genderCode(params) {
  const data = params
  return request({
    url: '/robot/genderCode',
    method: 'post',
    responseType: 'blob',
    headers: {
      'Response-All': true,
      'Content-Type': 'application/x-www-form-urlencoded'
      // 'Content-Type': 'application/json; application/octet-stream'
    },
    data: qs.stringify(data)
  })
}

export default {}
